﻿#pragma execution_character_set("utf-8")
#include "Player.h"
#include "Forward.h"
//#include "Center.h"
#include "Guards.h"
#include "Translator.h"
#include <memory>

using namespace std;

int main(int argc, char *argv[])
{
    shared_ptr<Player> b(new Forward("巴蒂尔"));
    b->Attack();
    shared_ptr<Player> m(new Guards("麦格克雷迪"));
    m->Attack();
    shared_ptr<Player> ym(new Translator("姚明"));
    ym->Attack();
    ym->Defense();

    return 0;
}
